<template lang="pug">
div(class="q-pa-sm q-gutter-y-sm")
  q-toolbar()
    q-btn(flat dense round icon="menu" @click="toggleLeftDrawer")
    q-toolbar-title(class="text-left") 我是header
    q-fab(flat dense push round icon="more_vert" vertical-actions-align="right" direction="down" class="z-top")
      q-fab-action(icon="r_home" label="回到主应用" @click="goParent" class="bg-primary text-white")
      q-fab-action(icon="r_logout" label="退出登录" @click="logout" class="bg-primary text-white")


</template>

<script setup>
import {useCommonStore} from "~/utils/store/common.js";

const common_store = useCommonStore()

const toggleLeftDrawer = () => {
  common_store.isCollapse = !common_store.isCollapse
}

const goParent = () => {

}

const logout = () => {

}


</script>

<style>

</style>